package com.xw.base.entity.basetask;

import com.xw.base.annotation.MongoDbAutoIncKey;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiongwei_vendor
 * @date 2021/10/29 10:53
 */
@Data
public class BaseTask {

    /**
     * 从1开始递增，自动生成
     */
    @MongoDbAutoIncKey
    @ApiModelProperty("任务id")
    private String taskId;

    @Override
    public String toString() {
        return "BaseTask{" +
                "taskId='" + taskId + '\'' +
                '}';
    }
}
